using System.Collections.Generic;
using YatFram;

namespace Examples.StringTemplate
{
    public class StringTemplateContext : IContext
    {
        public PropertyBag PropertyBag { get; set; }

        public TemplateData TemplateData { get; set; }

        public string RenderedText { get; set; }

        public IEnumerable<IRenderer> Renderers { get; set; }

        public StringTemplateContext()
        {
            Reset();
        }

        public void Reset()
        {
            PropertyBag = new PropertyBag();
            RenderedText = null;
            TemplateData = null;
            Renderers = new List<IRenderer>();
        }

        public void Dump()
        {
            
        }

        public void Dispose()
        {
            
        }
    }
}